package com.aabte.design2.structural.flyweight;

/**
 * @author Daniel
 * @version 1.0
 * @date 2020/5/3
 */
public class Application {
    public static void main(String[] args) {
        Forest forest = new Forest();
        forest.plantTree(1, 2, "tom", "green", "hardwood");
        forest.plantTree(2, 2, "jack", "red", "hardwood");
        forest.draw();
    }
}
